package com.chenfan.mcn.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 红人月度结算单-明细（批量）删除DTO
 * @author wulg
 * @date 2022-01-13
 **/
@Data
public class StarMonthlySettlementDetailDeleteDTO implements Serializable {

    private static final long serialVersionUID = -411454344552582094L;

    /**
     * 结算单ID
     */
    @NotNull(message = "结算单ID不能为空")
    private Long settlementId;

    /**
     * 明细ID集合（清空则不用传，选择删除则必传）
     */
    @NotNull(message = "请选择要删除的结算单明细")
    private List<Long> detailIds;

}
